<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="m" uri="/cutm_tags"%>

<head>
<title>发布公告</title>
<link rel="stylesheet"
	href="<s:url value="/common/css/datepicker.css"/>" type="text/css" />
<script type="text/javascript"
	src="<s:url value="/common/scripts/ui.datepick.js"/>"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#editNoticeForm").vaildAjax(function(data){
		$.alert(data);
	});
});
</script>
</head>
<body>
<h2 class="title">公告信息</h2>
<s:form id="editNoticeForm" action="notice/EditNotice">
	<s:hidden name="notice.id" />
	<table class="form">
		<tr>
			<th width="20%"><span class="hint">*</span>标题：</th>
			<td colspan="3"><s:textfield name="notice.title"
				cssClass="rule[required]" cssStyle="width:350" /></td>
		</tr>
		<tr>
			<th width="20%"><span class="hint">*</span>发布时间：</th>
			<td width="30%"><m:date name="notice.createDate" time="true"
				cssClass="rule[required ]" /></td>
			<th width="20%"><span class="hint">*</span>结束时间：</th>
			<td width="30%"><m:date name="notice.deadDate" time="true"
				cssClass="rule[required ]" /></td>
		</tr>
		<tr>
			<td colspan="4"><m:KEditor name="notice.content" /></td>
		</tr>
	</table>
	<div class="btnGroup"><input type="submit" value="发布" /> <input
		type="button" value="返回列表"
		onclick="BaseJs.toAction('notice/ListNotice');" /></div>
</s:form>
</body>